<?php

namespace App\Params\Common;

use App\Params\BaseParam;

class AlbumDeleteParams extends BaseParam
{
    public $mid;

    public $id;

    public function rules()
    {
        return [
            'mid' => 'required|string',
            'id' => 'required|integer',
        ];
    }

    public function message()
    {
        return [
            "mid.required" => "商户号不能为空",
            "id.required" => "商户号不能为空",
        ];
    }

    public function getId()
    {
        return $this->id;
    }


    public function getMid()
    {
        return $this->mid;
    }
}
